export const fileUrl = (url)=> {
    let apiUrl = import.meta.env.VITE_APP_MEDIA_URL
    if(!url) {
      return undefined
    } else if(url.includes('https')) {
      return url
    } else {
      return apiUrl + url
    }
  }